/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.feerepository.client.components;

import com.google.gwt.user.client.ui.Hyperlink;
import com.google.gwt.user.client.ui.TreeItem;

/**
 *
 * @author Oleg
 */
public class IndexedTreeItem extends TreeItem{

    private int id;
    public IndexedTreeItem(String title)
     {
        super(title);

    }

    public IndexedTreeItem(Hyperlink text)
    {
        super(text);
        text.addStyleName("item");

    }

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }
    

}
